#ifndef QDEFAULTKEYBOARDMANAGER_H
#define QDEFAULTKEYBOARDMANAGER_H

#include "sharedlibglobal.h"

#include <QObject>
#include <QMap>

class QAbstractHost;

class SHAREDLIB_EXPORT QDefaultKeyBoardManager : public QObject
{
    Q_OBJECT
public:
    explicit QDefaultKeyBoardManager(QObject *parent = 0);
    ~QDefaultKeyBoardManager();

    void    load();

    QMap<QString,QAbstractHost*>    get_all_keyboards();
    QAbstractHost* get_keyboard(const QString &name);
protected:
    void    clear();
signals:
    
public slots:
protected:
    QList<QString>   m_files;
    QMap<QString,QAbstractHost*>    m_name_to_keyboard;
};

#endif // QDEFAULTKEYBOARDMANAGER_H
